<?php

use think\migration\Seeder;

class BasicBoilerData extends Seeder
{
    /**
     * 锅炉
     */
    public function run()
    {
        $table = $this->table('basic_boiler');
        $rows  = [
            [
                'boiler_name'   => '晋能热电1机组锅炉A',  //注：1机组锅炉A
                'instrument_id' => '1',
                'company_id'    => '1',
            ],
            [
                'boiler_name'   => '晋能热电2机组锅炉A',  //注：2机组锅炉A
                'instrument_id' => '1',
                'company_id'    => '1',
            ]
        ];
        $table->insert($rows)->save();
    }
}